package com.yugao.fintech.antelope.gateway;

import com.yugao.fintech.antelope.base.annotation.EnableMyFeignClients;
import com.yugao.fintech.antelope.gateway.config.MyGatewayProperties;
import com.yugao.fintech.antelope.base.model.constants.ModuleCons;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@EnableMyFeignClients
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = ModuleCons.SCAN_BASE_PACKAGE)
@EnableConfigurationProperties({MyGatewayProperties.class})
public class StandaloneGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(StandaloneGatewayApplication.class, args);
    }
}